package org.example.excel;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class BookExcel {
    @ExcelProperty(value = "书名")
    private String bookName;
    @ExcelProperty(value = "ISBN")
    private String isbn;
    @ExcelProperty(value = "作者")
    private String author;
    @ExcelProperty(value = "出版社")
    private String press;

    @ExcelProperty(value = "出版日期")
    @DateTimeFormat("yyyy-MM-dd")
    private Date publishDate;

    @ExcelProperty(value = "书籍类别")
    private String category;

    @ExcelProperty(value = "状态")
    private Integer status;

}
